home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / comm / misc / RecentScript.lha / RecentScript / Plugins / RecentScript.yam < prev   
Encoding:
Text File  |  1998-03-15  |  844 b   |  37 lines

  1. /*****
  2.   $VER: RecentScript YAM PlugIn 1.2 (11.3.98) ©Arndt van der Molen
  3.  
  4.  
  5.         RecentScript PlugIn for email reader YAM.
  6.  
  7.   Starts the MUIRexx application 'RecentScript' with the
  8.   currently selected mail in the message list window as
  9.   argument.
  10.  
  11.   Installation:
  12.  
  13.   Add following line to 'YAM:.config'
  14.  
  15.   RexxMenu0 = MUIRexx:RecentScript/Plugins/RecentScript.yam
  16.  
  17.   whereas the number after 'RexxMenu' is the first unused
  18.   in your YAM configuration. Note: The maximum allowed number
  19.   is 9.
  20. *****/
  21.  
  22. OPTIONS RESULTS
  23.  
  24. ADDRESS 'YAM' GetMailInfo File
  25. filename=RESULT
  26.  
  27. IF filename = 'RESULT' THEN filename = ""
  28.  
  29. IF EXISTS(filename) THEN DO
  30.   ADDRESS COMMAND 'filenote <>nil:' filename 'O'
  31.   ADDRESS 'YAM' MailUpdate
  32. END
  33.  
  34. ADDRESS COMMAND 'run <>NIL: MUIRexx:MUIRexx "MUIRexx:RecentScript/RecentScript.rexx 'filename'" PORT RECENTSCRIPT'
  35.  
  36. EXIT
  37.